﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 9/7/2009
 * Time: 6:27 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using NUnit.Framework;
using Buaya.Model;

namespace Buaya.Tests
{
	[TestFixture]
	public class ModuleTests
	{
		[Test]
		public void TestMethod()
		{
			Module m = new Module();
			m.Name = "HumanResource";
			m.Inactive = false;
			m.AddCommand("List Employees", "Buaya.Commands.ListEmployees");
			m.AddCommand("List Departments", "Buaya.Commands.ListDepartments");
			m.AddCommand("List Positions", "Buaya.Commands.ListPositions");
			SessionFacade.SaveOrUpdateModule(m);
		}
	}
}
